<%--
  Created by IntelliJ IDEA.
  User: zhongwei
  Date: 2014/5/14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ page import="org.whuims.pois.model.TopicC" %>
<%@ page import="org.whuims.pois.model.SiteC" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<%
    request.setCharacterEncoding("utf-8");
    response.setCharacterEncoding("utf-8");
%>
<%
    SiteC bean = (SiteC) request.getAttribute("bean");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>

<head>
    <base href="<%=basePath%>"></base>
    <title>网络舆情信息系统 - 站点编辑</title>
    <link rel="stylesheet" type="text/css" href="css/mainPageStyle.css"/>
    <link rel="stylesheet" href="css/pagination.css"/>
    <link rel="stylesheet" href="css/subPage.css"/>
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/jquery.pagination.js"></script>
    <%@include file="../im.jsp" %>
</head>


<body>
<logic:notEmpty name="user">

    <div id="content" class="container">

        <%@include file="../top.jsp" %>

        <div class="row">
            <%@include file="../left.jsp" %>


            <div class="right col-md-10">
                <div id="right_left">
                    <html:form action="topicAction.do?method=modify" method="post">
                        <table>

                            <tr>
                                <td>
                                    主题词
                                </td>
                                <td>
                                    <html:hidden property="id" value="${bean.id}"></html:hidden>
                                    <html:text property="name" value="${bean.siteName}" disabled="false"></html:text>
                                </td>
                            </tr>

                            <tr>
                                <td>
                                    描述
                                </td>
                                <td>
                                    <html:text property="description" value="${bean.status}"></html:text>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    关键词
                                </td>
                                <td>
                                    <html:text property="keywords" value="{bean.keywords}"></html:text>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    去除词
                                </td>
                                <td>
                                    <html:text property="excludeWords" value="{bean.excludeWords}"></html:text>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <html:submit onclick="" property="submit" value="修改"></html:submit>
                                </td>
                                <td>
                                    <html:reset property="cancel" value="重置"></html:reset>
                                </td>
                            </tr>
                        </table>
                    </html:form>
                </div>
            </div>
        </div>
    </div>
</logic:notEmpty>
<logic:empty name="user">
    Access Rejected! Error 404
</logic:empty>
</body>
</html>


